//94
function inorderTravel(root) {
  const result = [];
  function travel(root) {
    if (root === null) {
      return;
    }
    travel(root.left);
    result.push(root.val);
    travel(root.right);
  }
  travel(root);
  return result;
}
